package com.coolw.common.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 错误码值定义
 *
 * @author coolw
 * @date 2024/5/15 11:00
 */
@Getter
@AllArgsConstructor
public enum ErrorCode {

    SUCCESS("200", "交易成功"),
    FAIL("500", "系统异常,请联系管理员"),
    ;

    private final String code;
    private final String message;
}
